package com.zy.explore.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * description 通用ID为String的查询Frm
 *
 * 用来根据ID查对象或根据ID删除对象
 *
 * @author ZY
 * @date 2021年04月30日 15:05
 **/
@ApiModel("通用ID为String的查询Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommonIdStrFrm {

    @ApiModelProperty(value = "主键ID", required = true, example = "5ffbc6ebc1de5b600d6dabfc")
    @NotBlank(message = "主键ID不能为空")
    private String id;

}
